package com.example.common.Application;

import android.app.Application;
import android.content.Context;

public class MyApplication extends Application {
    private static Context context;

    @Override
    public void onCreate() {
        super.onCreate();
        context = getApplicationContext();

//        mBoxStore = MyObjectBox.builder().androidContext(this).build();
//        if (BuildConfig.DEBUG) {
//            // 添加调试
//            boolean start=  new AndroidObjectBrowser(mBoxStore).start(this);
//            Log.e("====start=======",start+"");
//        }
//        Log.d("App===", "Using ObjectBox " + BoxStore.getVersion() + " (" + BoxStore.getVersionNative() + ")");

    }
    public static Context getContext(){
        return context;
    }
}
